//
//  WZIntroduceController.m
//  ETong
//
//  Created by wanzhao on 15/10/30.
//  Copyright (c) 2015年 wanzhao. All rights reserved.
//

#import "WZIntroduceController.h"

@implementation WZIntroduceController

- (void)dealloc
{
    NSLog(@"WZIntroduceController dealloc");
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor = RGBCOLORWITH16COLOR(0xeeeeee);
    self.navigationItem.title = @"产品介绍";
    
    
    UILabel *titleLabel = [[UILabel alloc] init];
    titleLabel.frame = CGRectMake(OppositeWidthRate(10), 0, self.view.width - OppositeHeightRate(20), OppositeHeightRate(50));
    titleLabel.backgroundColor = ClearColor;
    titleLabel.font = [UIFont boldSystemFontOfSize:18.0f];
    titleLabel.textAlignment = NSTextAlignmentLeft;
    titleLabel.textColor = RGBCOLORWITH16COLOR(0x333333);
    titleLabel.text = @"e同办公系统介绍";
    [self.view addSubview:titleLabel];
    
    
    UIView *line1 = [[UIView alloc] init];
    line1.frame = CGRectMake(0, CGRectGetMaxY(titleLabel.frame), self.view.width, OppositeHeightRate(0.5));
    line1.backgroundColor = RGBCOLORWITH16COLOR(0xffffff);
    [self.view addSubview:line1];
    
    
    UIView *line2 = [[UIView alloc] init];
    line2.frame = CGRectMake(0, CGRectGetMaxY(line1.frame), self.view.width, OppositeHeightRate(0.5));
    line2.backgroundColor = RGBCOLORWITH16COLOR(0xd4d4d4);
    [self.view addSubview:line2];
    
    
    UITextView *contentLabel = [[UITextView alloc] init];
    contentLabel.userInteractionEnabled = NO;
    contentLabel.backgroundColor = ClearColor;
    contentLabel.frame = CGRectMake(OppositeWidthRate(10), CGRectGetMaxY(line2.frame), self.view.width - 2 * OppositeHeightRate(10),  OppositeHeightRate(100));
    contentLabel.font = Font15;
    contentLabel.textAlignment = NSTextAlignmentLeft;
    contentLabel.textColor = RGBCOLORWITH16COLOR(0x666666);
    contentLabel.text = @"     万朝智能管理平台是一款集OA、HR和CRM为一体的企业信息管理软件，可以帮助企业走协同办公之路，以此来提升企业运营效率，规范企业内部管理流程，降低生产和经营成本，打造自身竞争优势。";
    [self.view addSubview:contentLabel];

    
    UIButton *erweima = [UIButton buttonWithType:UIButtonTypeCustom];
    [erweima setImage:[UIImage imageNamed:@""] forState:UIControlStateNormal];
    erweima.userInteractionEnabled = NO;
    erweima.frame = CGRectMake(0, CGRectGetMaxY(contentLabel.frame) + OppositeHeightRate(40), HARDWARE_SCREEN_WIDTH, OppositeHeightRate(150));
    [self.view addSubview:erweima];

}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
        
}


@end
